﻿using com.cruxomatic.web.wrokflows;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WorkflowTestHarness
{
    class Program
    {
        static void Main(string[] args)
        {
           WorkflowManager manager = new WorkflowManager();
           int id = manager.CreateWorkflowInstance("CruxSampleWorkflow", "Some Comments", "Start", "rajiv", null);
           Console.WriteLine("Starting Action...");
           Console.ReadLine();
           manager.FireActionOnWorkflowInstance(id, "IndividualLotManagement", "More Comments", "rajiv", null, true);
        }
    }
}
